2006-01-04 23:35:09 +00:00
|
|
|
OBJ1 = main.o
|
|
|
|
OBJ2 = main2.o
|
|
|
|
BIN1 = main-gcc
|
|
|
|
BIN2 = main2-gcc
|
2006-01-05 13:20:11 +00:00
|
|
|
CXXFLAGS = -I../../include -Wall -O2 -DNDEBUG
|
2005-10-05 09:11:58 +00:00
|
|
|
LIBS = -L../../lib -lloki
|
|
|
|
|
2006-01-04 23:35:09 +00:00
|
|
|
.PHONY: all
|
|
|
|
all: $(BIN1) $(BIN2)
|
2005-10-05 09:11:58 +00:00
|
|
|
|
2006-01-04 23:35:09 +00:00
|
|
|
$(BIN1): $(OBJ1)
|
|
|
|
$(CXX) -o $(BIN1) $(OBJ1) $(LIBS)
|
2005-10-05 09:11:58 +00:00
|
|
|
|
2006-01-04 23:35:09 +00:00
|
|
|
$(BIN2): $(OBJ2)
|
|
|
|
$(CXX) -o $(BIN2) $(OBJ2) $(LIBS)
|
2005-10-05 09:11:58 +00:00
|
|
|
|
2006-01-04 23:35:09 +00:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJ1) $(BIN1)
|
|
|
|
rm -f $(OBJ2) $(BIN2)
|