aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 34f6649..36e86d7 100644
--- a/Makefile
+++ b/Makefile
@@ -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)