Skip to content
This repository has been archived by the owner on Oct 13, 2019. It is now read-only.

Commit

Permalink
Take out the trash
Browse files Browse the repository at this point in the history
  • Loading branch information
CTurt committed Sep 6, 2015
1 parent 52ffb97 commit 4512c5a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions PC/Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
CC := gcc
CP := g++
LN := g++
LN := gcc
ODIR := build
SDIR := source
IDIR := include
LDIR := lib
CFLAGS := -I$(IDIR) -fms-extensions -O2 -Wall
LFLAGS := $(LDIR)/vJoyInterface.lib -lws2_32 -lGdi32 -lgdiplus -static-libgcc
CFILES := $(wildcard $(SDIR)/*.c)
CPPFILES := $(wildcard $(SDIR)/*.cpp)
OBJS := $(patsubst $(SDIR)/%.c, build/%.o, $(wildcard $(SDIR)/*.c))
OBJS += $(patsubst $(SDIR)/%.cpp, build/%.o, $(wildcard $(SDIR)/*.cpp))
OBJS := $(patsubst $(SDIR)/%.c, $(ODIR)/%.o, $(wildcard $(SDIR)/*.c))

PLATFORM = $(shell uname)

Expand All @@ -32,9 +29,6 @@ $(TARGET): $(ODIR) $(OBJS)
$(ODIR)/%.o: $(SDIR)/%.c
$(CC) -c -o $@ $< $(CFLAGS)

$(ODIR)/%.o: $(SDIR)/%.cpp
$(CP) -c -o $@ $< $(CFLAGS)

$(ODIR):
@mkdir $@

Expand Down

0 comments on commit 4512c5a

Please sign in to comment.