diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..ee98188 --- /dev/null +++ b/makefile @@ -0,0 +1,18 @@ +CXXFLAGS := -g `pkg-config --cflags x11` +LDFLAGS := `pkg-config --libs x11` + +all: YATwm + +HEADERS = \ + config.h \ + structs.h +SOURCES = \ + main.cpp +OBJECTS = $(SOURCES:.cpp=.o) + +newwm: $(HEADERS) $(OBJECTS) + $(CXX) -o $@ $(OBJECTS) $(LDFLAGS) + +.PHONY: clean +clean: + rm -f YATwm $(OBJECTS) |
