STRIP = strip --strip-all -R .comment -R .note
OBJCOPY = objcopy
-REQFLAGS = -g -m32 -I. -I./sys -I../include
+REQFLAGS = -g -m32 -D__COM32__ -I. -I./sys -I../include
OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-labels=0
WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline
LIB = ../lib/libcom32.a
LIBGCC := $(shell $(CC) --print-libgcc)
-.SUFFIXES: .lss .c .o .elf .c32
+.SUFFIXES: .lss .c .o .elf .c32 .lnx
all: hello.c32 fancyhello.c32 fancyhello.lnx
rm -f *.o *.a *.lst *.elf
clean: tidy
- rm -f *.lss *.o *.c32 *.com
+ rm -f *.lss *.o *.c32 *.lnx *.com
spotless: clean
rm -f *~ \#*