Makefile for Linux and finished fixing case issues with includes
This commit is contained in:
parent
4949a5eac0
commit
6a331fdaf8
6
Makefile
6
Makefile
@ -30,7 +30,7 @@ build/obj/powder.exe/%.o: src/%.cpp $(HEADERS)
|
||||
$(CPPC) -c $(CFLAGS) $(OFLAGS) -o $@ $< -ggdb
|
||||
buildpaths-powder.exe:
|
||||
$(shell mkdir build/obj/powder.exe/)
|
||||
$(shell mkdir $(sort $(dir $(OBJS))))
|
||||
$(shell mkdir $(sort $(dir $(patsubst build/obj/%.o,build/obj/powder.exe/%.o,$(OBJS)))))
|
||||
|
||||
build/powder: buildpaths-powder $(patsubst build/obj/%.o,build/obj/powder/%.o,$(OBJS))
|
||||
$(CPPC) $(CFLAGS) $(OFLAGS) $(LDFLAGS) $(patsubst build/obj/%.o,build/obj/powder/%.o,$(OBJS)) $(LFLAGS) -o $@ -ggdb
|
||||
@ -38,8 +38,8 @@ build/obj/powder/%.o: src/%.cpp $(HEADERS)
|
||||
$(CPPC) -c $(CFLAGS) $(OFLAGS) -o $@ $< -ggdb
|
||||
buildpaths-powder:
|
||||
$(shell mkdir build/obj/powder/)
|
||||
$(shell mkdir $(sort $(dir $(OBJS))))
|
||||
$(shell mkdir $(sort $(dir $(patsubst build/obj/%.o,build/obj/powder/%.o,$(OBJS)))))
|
||||
|
||||
clean:
|
||||
rm -r build/obj/*
|
||||
rm build/*.exe
|
||||
rm build/*.exe
|
||||
|
File diff suppressed because one or more lines are too long
@ -28,7 +28,7 @@
|
||||
//#include "ElementGraphics.h"
|
||||
#define INCLUDE_FONTDATA
|
||||
#include "font.h"
|
||||
#include "misc.h"
|
||||
#include "Misc.h"
|
||||
#include "hmap.h"
|
||||
|
||||
//unsigned cmode = CM_FIRE;
|
||||
|
Loading…
Reference in New Issue
Block a user