Moving patches.h to patches.def.h to match that of config

This commit is contained in:
bakkeby 2020-01-26 16:20:06 +01:00
parent 352170eec8
commit 188ec2fa1c
3 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.o *.o
config.h config.h
patches.h

View File

@ -18,13 +18,16 @@ options:
config.h: config.h:
cp config.def.h config.h cp config.def.h config.h
patches.h:
cp patches.def.h patches.h
.c.o: .c.o:
$(CC) $(STCFLAGS) -c $< $(CC) $(STCFLAGS) -c $<
st.o: config.h st.h win.h st.o: config.h st.h win.h
x.o: arg.h config.h st.h win.h x.o: arg.h config.h st.h win.h
$(OBJ): config.h config.mk $(OBJ): config.h config.mk patches.h
st: $(OBJ) st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS) $(CC) -o $@ $(OBJ) $(STLDFLAGS)