Commit b22eb710 authored by Stas Korobeynikov's avatar Stas Korobeynikov

add makefile

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