diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,12 +3,12 @@ PLATFORM = unix DUCKY_OBJ = src/ducky.o -CFLAGS = -lbsd -lm -O2 -g -I src/ -I sysdep/$(PLATFORM) +CFLAGS = -lbsd -lm -O2 -g -I src/ -I target/$(PLATFORM) -$(PLATFORM).bin: $(DUCKY_OBJ) sysdep/$(PLATFORM)/main.o - $(CC) $(DUCKY_OBJ) sysdep/$(PLATFORM)/main.o $(CFLAGS) -o $(PLATFORM).bin +$(PLATFORM).bin: $(DUCKY_OBJ) target/$(PLATFORM)/main.o + $(CC) $(DUCKY_OBJ) target/$(PLATFORM)/main.o $(CFLAGS) -o $(PLATFORM).bin clean: rm -f $(PLATFORM).bin - rm -f sysdep/$(PLATFORM)/main.o + rm -f target/$(PLATFORM)/main.o rm -f $(DUCKY_OBJ) |