[update] cclib multiOS Makefile
This commit is contained in:
@@ -17,7 +17,7 @@ SOURCES = cclib.cpp
|
|||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
$(TARGET): $(SOURCES)
|
$(TARGET): $(SOURCES)
|
||||||
$(info Building cclib.so to src/)
|
$(info Building cclib to src/)
|
||||||
ifeq ($(OS),Darwin)
|
ifeq ($(OS),Darwin)
|
||||||
$(CC) $(CFLAGS_DARWIN) $(DEBUGFLAGS) -o $(TARGET) $(SOURCES)
|
$(CC) $(CFLAGS_DARWIN) $(DEBUGFLAGS) -o $(TARGET) $(SOURCES)
|
||||||
else ifeq ($(OS),Linux)
|
else ifeq ($(OS),Linux)
|
||||||
@@ -25,7 +25,7 @@ else ifeq ($(OS),Linux)
|
|||||||
#else ifeq ($(WIN_HOST),True) - todo: pass ENV var from build.sh if WIN host
|
#else ifeq ($(WIN_HOST),True) - todo: pass ENV var from build.sh if WIN host
|
||||||
else
|
else
|
||||||
$(info else)
|
$(info else)
|
||||||
#$(CC)_WIN $(CFLAGS_WIN) $(DEBUGFLAGS) -o $(TARGET_WIN) $(SOURCES)
|
#$(CC_WIN) $(CFLAGS_WIN) $(DEBUGFLAGS) -o $(TARGET_WIN) $(SOURCES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user