diff options
Diffstat (limited to 'reverse-engineering/dosbox_snif/Makefile')
-rw-r--r-- | reverse-engineering/dosbox_snif/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/reverse-engineering/dosbox_snif/Makefile b/reverse-engineering/dosbox_snif/Makefile new file mode 100644 index 0000000..937465b --- /dev/null +++ b/reverse-engineering/dosbox_snif/Makefile @@ -0,0 +1,33 @@ +CFLAGS=-Wall -g -O2 +LDFLAGS= + +OBJS=rsp.o utils.o rsp_lemm.o +EXE=dump dump_ds0 dump_delta validate_code poke int16todec + +all: $(EXE) + +dump: main_dump.o $(OBJS) + $(CC) $(LDFLAGS) -o $@ $^ + +dump_ds0: main_dump_ds0.o $(OBJS) + $(CC) $(LDFLAGS) -o $@ $^ + +dump_delta: main_dump_delta.o $(OBJS) + $(CC) $(LDFLAGS) -o $@ $^ + +poke: main_poke.o $(OBJS) + $(CC) $(LDFLAGS) -o $@ $^ + +validate_code: main_validate_code.o $(OBJS) + $(CC) $(LDFLAGS) -o $@ $^ + +int16todec: int16todec.o + $(CC) $(LDFLAGS) -o $@ $^ + +%.o: %.c + $(CC) -c $(CFLAGS) -o $@ $^ + +clean: + rm $(OBJS) main_*.o $(EXE) || true + +.PHONY: all clean |