]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/Makefile
Ticket 37. The message variable definition moved from if() construction
[stg.git] / stglibs / common.lib / Makefile
index d1c816b61587975e4fdba6c285e1a06ce6bd2ed7..1f662c25c3357985ec83d49a11fbb5129b7a4539 100644 (file)
@@ -4,20 +4,13 @@
 
 include ../../Makefile.conf
 
-LIB_NAME = stg_common
-PROG = lib$(LIB_NAME)
+LIB_NAME = stgcommon
 
-SRCS = debug.c \
-       stg_error.c \
-       common.cpp \
-       stg_strptime.cpp
+SRCS = common.cpp \
+       strptime.cpp
 
-INCS = debug.h \
-       stg_error.h \
-       common.h
+INCS = common.h
 
-ifneq ($(OS),linux)
-LIBS += -liconv
-endif
+LIBS += $(LIBICONV)
 
 include ../Makefile.in