diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2020-01-31 17:16:27 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-01-31 17:16:27 +0300 |
commit | 3032869b86efa52f20ad9840381a37017980f587 (patch) | |
tree | fdce664ffdc127e391dff6f94d84d98af57e3e6d /Makefile | |
parent | 233c346c4af51371cb4744be5e1c9798d2fcac02 (diff) | |
download | texo-3032869b86efa52f20ad9840381a37017980f587.tar texo-3032869b86efa52f20ad9840381a37017980f587.tar.xz texo-3032869b86efa52f20ad9840381a37017980f587.zip |
[xift] Almost done.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,10 +1,10 @@ # Debug mode: -DEBUG = yes +# DEBUG = yes CC = g++ LIB = libtexo.a -CPPFLAGS = -Wall -ansi +CPPFLAGS = -Wall -ansi -pedantic ifeq '$(DEBUG)' 'yes' CPPFLAGS += -g -O0 else @@ -15,8 +15,6 @@ SRC_DIR = src SRC = $(wildcard $(SRC_DIR)/*.cpp) OBJ = $(SRC:.cpp=.o) -INCLUDE = -I../lib/scriptpp - default: $(LIB) @@ -28,7 +26,7 @@ deps.mk: $(SRC) $(CC) -MM $^ > $@ %.o: %.cpp %.hpp - $(CC) $(CPPFLAGS) $(INCLUDE) -c $< -o $@ + $(CC) $(CPPFLAGS) -c $< -o $@ $(LIB): $(OBJ) ar rcs $@ $^ |