Take out the trash
This commit is contained in:
parent
2f5bd49837
commit
800657cc2b
1 changed files with 2 additions and 8 deletions
10
PC/Makefile
10
PC/Makefile
|
@ -1,6 +1,5 @@
|
||||||
CC := gcc
|
CC := gcc
|
||||||
CP := g++
|
LN := gcc
|
||||||
LN := g++
|
|
||||||
ODIR := build
|
ODIR := build
|
||||||
SDIR := source
|
SDIR := source
|
||||||
IDIR := include
|
IDIR := include
|
||||||
|
@ -8,9 +7,7 @@ LDIR := lib
|
||||||
CFLAGS := -I$(IDIR) -fms-extensions -O2 -Wall
|
CFLAGS := -I$(IDIR) -fms-extensions -O2 -Wall
|
||||||
LFLAGS := $(LDIR)/vJoyInterface.lib -lws2_32 -lGdi32 -lgdiplus -static-libgcc
|
LFLAGS := $(LDIR)/vJoyInterface.lib -lws2_32 -lGdi32 -lgdiplus -static-libgcc
|
||||||
CFILES := $(wildcard $(SDIR)/*.c)
|
CFILES := $(wildcard $(SDIR)/*.c)
|
||||||
CPPFILES := $(wildcard $(SDIR)/*.cpp)
|
OBJS := $(patsubst $(SDIR)/%.c, $(ODIR)/%.o, $(wildcard $(SDIR)/*.c))
|
||||||
OBJS := $(patsubst $(SDIR)/%.c, build/%.o, $(wildcard $(SDIR)/*.c))
|
|
||||||
OBJS += $(patsubst $(SDIR)/%.cpp, build/%.o, $(wildcard $(SDIR)/*.cpp))
|
|
||||||
|
|
||||||
PLATFORM = $(shell uname)
|
PLATFORM = $(shell uname)
|
||||||
|
|
||||||
|
@ -32,9 +29,6 @@ $(TARGET): $(ODIR) $(OBJS)
|
||||||
$(ODIR)/%.o: $(SDIR)/%.c
|
$(ODIR)/%.o: $(SDIR)/%.c
|
||||||
$(CC) -c -o $@ $< $(CFLAGS)
|
$(CC) -c -o $@ $< $(CFLAGS)
|
||||||
|
|
||||||
$(ODIR)/%.o: $(SDIR)/%.cpp
|
|
||||||
$(CP) -c -o $@ $< $(CFLAGS)
|
|
||||||
|
|
||||||
$(ODIR):
|
$(ODIR):
|
||||||
@mkdir $@
|
@mkdir $@
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue