X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2FMakefile;h=3362a73806b7e9100d26a88dbdac9d270a76b118;hb=f6c49d38cbb965c502ca2af66d76e92f95acda7c;hp=47a8dcc4bce5184bb9a9711493d054560f9ae080;hpb=e05b81fc5b3f640496795ced5d893ece4cc51c2d;p=picodrive.git diff --git a/platform/linux/Makefile b/platform/linux/Makefile index 47a8dcc..3362a73 100644 --- a/platform/linux/Makefile +++ b/platform/linux/Makefile @@ -88,6 +88,9 @@ PicoDrive : $(OBJS) @echo ">>>" $@ $(CC) $(CFLAGS) $^ $(LDFLAGS) -Wl,-Map=PicoDrive.map -o $@ +pprof: pprof.c + $(CROSS)gcc -O2 -ggdb -DPPROF -DPPROF_TOOL -I../../ -I. $^ -o $@ -lrt + %.o : %.asm @echo ">>>" $< nasm -f elf $< -o $@