mirror of
https://github.com/cmand/yarrp.git
synced 2024-05-11 05:55:06 +00:00
14 lines
257 B
Makefile
14 lines
257 B
Makefile
CXX = c++
|
|
CFLAGS = -Os --std=gnu++11 -Wall
|
|
LIBS = -lscamperfile
|
|
DEPS = ipaddress.hpp yarrpfile.hpp
|
|
OBJ = yrp2warts.o
|
|
|
|
%.o: %.cpp $(DEPS)
|
|
$(CXX) -c -o $@ $< $(CFLAGS)
|
|
|
|
yrp2warts: $(OBJ)
|
|
$(CXX) -o $@ $^ $(CFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f yrp2warts yrp2warts.o
|