diff options
Diffstat (limited to 'core/Makefile')
| -rw-r--r-- | core/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile new file mode 100644 index 0000000..3382b52 --- /dev/null +++ b/core/Makefile @@ -0,0 +1,14 @@ +SRC=$(wildcard *.c) +OBJ=$(SRC:.c=) + +all: ${OBJ} + +options: + @echo SRC: ${SRC} + @echo OBJ: ${OBJ} + +%: %.c + gcc $< -o $@ ../lib/slib.a -static -nostdlib -fno-stack-protector -Wno-implicit-function-declaration -fno-builtin -g + +clean: + rm ${OBJ} |