1 # Makefile for xuni, Windows version
7 SRC_TARGETS = all depend clean wc
15 # Targets relating to executables
16 .PHONY: run runa debug profile
24 $(MAKE) -C $(SRC) clean all \
25 '$(shell grep -E "CFLAGS\s?=" $(SRC)/Makefile) -pg'
27 tempfile --directory . --prefix prof- --suffix .out > profile.name
28 gprof $(TARGET) > $(shell cat profile.name)
29 cp $(TARGET) $(TARGET)_profile
30 $(MAKE) -C $(SRC) clean
31 cp $(TARGET)_profile $(TARGET)
34 scite $(shell cat profile.name)
36 # Targets from and relating to src/
41 # Targets from and relating to doc/