Rev 8211 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8211 | maxcodehac | 1 | CC = kos32-gcc |
2 | LD = kos32-ld |
||
3 | |||
4 | SDK_DIR = $(abspath ../../../../../) |
||
5 | |||
6 | CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 |
||
7 | |||
8 | INCLUDES = -I ../include -I $(SDK_DIR)/sources/newlib/libc/include |
||
9 | |||
8214 | maxcodehac | 10 | SYSCALL_SRC := $(notdir $(wildcard *.c)) |
11 | OBJECTS = $(patsubst %.c, %.o, $(SYSCALL_SRC)) |
||
8211 | maxcodehac | 12 | |
8214 | maxcodehac | 13 | default: $(patsubst %.c,%.o,$(SYSCALL_SRC)) |
8211 | maxcodehac | 14 | |
8214 | maxcodehac | 15 | %.o : %.c Makefile $(SYSCALL_SRC) |
8211 | maxcodehac | 16 | $(CC) $(CFLAGS) $(INCLUDES) -o $@ $< |
17 | |||
18 | clean: |
||
19 | rm *.o |