diff options
Diffstat (limited to '')
-rw-r--r-- | generic/build.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/generic/build.mk b/generic/build.mk new file mode 100644 index 0000000..0b2f531 --- /dev/null +++ b/generic/build.mk @@ -0,0 +1,7 @@ +CFLAGS = -nostdinc -ffreestanding +LDFLAGS = -s + +LD = $(CC) + +true.o false.o: $(MACHINE)/true.c $(MACHINE)/false.c + $(CC) -c -o $@ $(MACHINE)/$(@:.o=.c) $(CFLAGS) |