diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-12 19:38:45 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-12 19:40:49 -0400 |
commit | da3aa8b99fea249422b78827edee1a9ffb990494 (patch) | |
tree | 81b275ab0205e241c29f139633eb70e2c44a11d0 /emux64/Makefile | |
parent | c8a06a547449f8326102c43a1c63dfcd80baef44 (diff) |
project: Add emux64 emulator skeleton
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'emux64/Makefile')
-rw-r--r-- | emux64/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emux64/Makefile b/emux64/Makefile new file mode 100644 index 0000000..8455235 --- /dev/null +++ b/emux64/Makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -pedantic -Isrc/include/ +CFILES = $(shell find src/ -name "*.c") +OFILES = $(CFILES:.c=.o) + +.PHONY: all +all: $(OFILES) + mkdir -p bin/ + $(CC) $^ $(CFLAGS) -o bin/emux + +%.c: %.o + $(CC) -c $< $(CFLAGS) + +.PHONY: clean +clean: + rm $(OFILES) |