revised usage message
[ps3hvc-utils.git] / Makefile
blobe660e1a98f06db1fcd7cf7c82ed05817674ca8e3
2 CC=gcc
3 CFLAGS=-Wall -O2 -g -m64
4 LDFLAGS=-m64
6 SRC_ps3hvc_hvcall=ps3hvc_dev.c ps3hvc_hvcall.c
7 OBJ_ps3hvc_hvcall=$(SRC_ps3hvc_hvcall:.c=.o)
8 TARGET_ps3hvc_hvcall=ps3hvc_hvcall
10 all: $(TARGET_ps3hvc_hvcall)
12 $(TARGET_ps3hvc_hvcall): $(OBJ_ps3hvc_hvcall)
13 $(CC) $(LDFLAGS) -o $@ $^
15 %.o: %.c
16 $(CC) $(CFLAGS) -c $<
18 .PHONY: clean
19 clean:
20 rm -f $(OBJ_ps3hvc_hvcall) $(TARGET_ps3hvc_hvcall)