You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
215 B

4 years ago
4 years ago
4 years ago
  1. FILES=Buffer.o FileBrowser.o main.o
  2. DIRS=bin obj
  3. OBJS=$(addprefix obj/,$(FILES))
  4. bin/FileBrowser: $(OBJS) | bin
  5. $(CXX) $(OBJS) -o $@
  6. $(OBJS): | obj
  7. $(DIRS):
  8. mkdir $@ || true
  9. obj/%.o: src/%.cpp
  10. $(CXX) $^ -c -o $@