forked from omgneeq/ps3utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 676 Bytes
/
Makefile
File metadata and controls
39 lines (30 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
CC = gcc
CFLAGS += -Wall -Wextra \
-Wundef \
-Wnested-externs \
-Wwrite-strings \
-Wpointer-arith \
-Wbad-function-cast \
-Wmissing-declarations \
-Wmissing-prototypes \
-Wstrict-prototypes \
-Wredundant-decls \
-Wno-unused-parameter \
-Wno-missing-field-initializers
prefix = $(HOME)
ifeq ($(findstring MINGW, $(shell uname -s)), MINGW)
MINGW=1
endif
ifdef MINGW
LDLIBS = -lws2_32
endif
BINS = pdb_gen \
find_syscall \
pup \
fix_tar
install: all
install $(BINS) $(prefix)/bin/
all: $(BINS)
pup: sha1.o pup.o
clean:
rm -f $(BINS) *~ *.o *.exe