Skip to content
Snippets Groups Projects
Commit 91ba46cb authored by D-AIRY's avatar D-AIRY
Browse files

updated makefile

parent c33a06a4
Branches master
No related merge requests found
......@@ -10,6 +10,7 @@ ARCH=i386
#make sure this is the correct compiler for your system
CC=gcc
CC=g++
DLL_SRCDIR=.
ENGINE_SRCDIR=../engine
......@@ -46,6 +47,7 @@ SHLIBCFLAGS=-fPIC
SHLIBLDFLAGS=-shared
DO_CC=$(CC) $(CFLAGS) $(SHLIBCFLAGS) $(INCLUDEDIRS) -o $@ -c $<
DO_CCPP=$(CCPP) $(CFLAGS) $(SHLIBCFLAGS) $(INCLUDEDIRS) -o $@ -c $<
#############################################################################
# SETUP AND BUILD
......@@ -53,13 +55,13 @@ DO_CC=$(CC) $(CFLAGS) $(SHLIBCFLAGS) $(INCLUDEDIRS) -o $@ -c $<
#############################################################################
$(DLL_OBJDIR)/%.o: $(DLL_SRCDIR)/%.cpp
$(DO_CC)
$(DO_CCPP)
$(WPN_SHARED_OBJDIR)/%.o: $(WPN_SHARED_SRCDIR)/%.cpp
$(DO_CC)
$(DO_CCPP)
$(GAME_SHARED_OBJDIR)/%.o: $(GAME_SHARED_SRCDIR)/%.cpp
$(DO_CC)
$(DO_CCPP)
$(PM_SHARED_OBJDIR)/%.o: $(PM_SHARED_SRCDIR)/%.c
$(DO_CC)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment