X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=z80comp2;a=blobdiff_plain;f=emu%2FMakefile;fp=emu%2FMakefile;h=d0a5af4886c9ff4236b694967b5edc3246d7c443;hp=0000000000000000000000000000000000000000;hb=a0a85eb847ff3bb5da13e78618efdcd1b9f588cf;hpb=b55f31d1ac4a1991f2ad7b2d17be06969ea25e47 diff --git a/emu/Makefile b/emu/Makefile new file mode 100644 index 0000000..d0a5af4 --- /dev/null +++ b/emu/Makefile @@ -0,0 +1,15 @@ +src = $(wildcard src/*.c) +obj = $(src:.c=.o) +dep = $(obj:.o=.d) +bin = z80v2emu + +CFLAGS = -pedantic -Wall -g -MMD + +$(bin): $(obj) + $(CC) -o $@ $(obj) $(LDFLAGS) + +-include $(dep) + +.PHONY: clean +clean: + rm -f $(obj) $(bin)