Commit fdd69307 authored by Stas Korobeynikov's avatar Stas Korobeynikov

fix compiller

parent 59eebabd
CXX = $(shell wx-config --cxx) #CXX = $(shell wx-config --cxx)
CXX = clang++
CXXFLAGS = $(shell wx-config --cxxflags)
CXXLIBS = $(shell wx-config --libs)
PROGRAM = opennxtestevent PROGRAM = opennxtestevent
OBJECTS = $(PROGRAM).o OBJECTS = asyncprocess.o $(PROGRAM).o
# implementation # implementation
.SUFFIXES:.o .cpp .SUFFIXES:.o .cpp
.cpp.o : .cpp.o :
$(CXX) -c `wx-config --cxxflags` -o $@ $< $(CXX) -c $(CXXFLAGS) -o $@ $<
all: $(PROGRAM) all: $(PROGRAM)
$(PROGRAM): $(OBJECTS) $(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs` $(CXX) -o $(PROGRAM) $(OBJECTS) $(CXXLIBS)
clean: clean:
rm -f *.o $(PROGRAM) rm -f *.o $(PROGRAM)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment