use standard make variables

This commit is contained in:
Kill Your TV 2014-10-29 21:54:47 +00:00
parent 524b2e9f8a
commit 5acbc6a23e
6 changed files with 15 additions and 19 deletions

View file

@ -11,13 +11,13 @@ endif
all: obj i2p
i2p: $(OBJECTS:obj/%=obj/%)
$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
$(CXX) -o $@ $^ $(LDFLAGS) $(LIBS)
.SUFFIXES:
.SUFFIXES: .c .cc .C .cpp .o
obj/%.o : %.cpp
$(CC) -o $@ $< -c $(CFLAGS) $(INCFLAGS) $(CPU_FLAGS)
$(CXX) -o $@ $< -c $(CXXFLAGS) $(INCFLAGS) $(CPU_FLAGS)
obj:
mkdir -p obj