1 # Makefile for xuni, Windows version
7 SRC_TARGETS = all depend clean wc
12 SUBDIRS = $(DOC) $(DIST)
18 # Targets relating to executables
19 .PHONY: run runa debug profile
27 $(MAKE) -C $(SRC) clean all \
28 '$(shell grep -E "CFLAGS\s?=" $(SRC)/Makefile) -pg'
30 tempfile --directory . --prefix prof- --suffix .out > profile.name
31 gprof $(TARGET) > $(shell cat profile.name)
32 cp $(TARGET) $(TARGET)_profile
33 $(MAKE) -C $(SRC) clean
34 cp $(TARGET)_profile $(TARGET)
37 scite $(shell cat profile.name)
39 # Targets from and relating to src/
44 # Targets from and relating to other subdirectories