Commit 4bb9b631 authored by Stas Korobeynikov's avatar Stas Korobeynikov

fix makefile

parent ee08a060
CXX = $(shell wx-config --cxx)
CXXFLAGS = $(shell wx-config --cxxflags)
CXXLIBS = $(shell wx-config --libs)
PROGRAM = opennxtestevent
OBJECTS = $(PROGRAM).o
OBJECTS = asyncprocess.o $(PROGRAM).o
# implementation
.SUFFIXES:.o .cpp
.cpp.o :
$(CXX) -c `wx-config --cxxflags` -o $@ $<
$(CXX) -c $(CXXFLAGS) -o $@ $<
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS)
$(CXX) -o $(PROGRAM) $(OBJECTS) `wx-config --libs`
$(CXX) -o $(PROGRAM) $(OBJECTS) $(CXXLIBS)
clean:
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