mirror of
https://git.zaage.it/robert/balong-usbload.git
synced 2024-11-10 01:11:03 +00:00
61771adc5e
Процедуры патча вынесены в отдельный файл ptcher.(c,h)
26 lines
461 B
Makefile
Executable File
26 lines
461 B
Makefile
Executable File
CC = gcc
|
|
LIBS =
|
|
CFLAGS = -O2 -g -Wno-unused-result
|
|
|
|
.PHONY: all clean
|
|
|
|
all: balong-usbdload ptable-injector loader-patch
|
|
|
|
clean:
|
|
rm *.o
|
|
rm balong-usbdload
|
|
rm ptable-injector
|
|
rm loader-patch
|
|
|
|
#.c.o:
|
|
# $(CC) -o $@ $(LIBS) $^ qcio.o
|
|
|
|
balong-usbdload: balong-usbdload.o parts.o patcher.o
|
|
@gcc $^ -o $@ $(LIBS)
|
|
|
|
ptable-injector: ptable-injector.o parts.o
|
|
@gcc $^ -o $@ $(LIBS)
|
|
|
|
loader-patch: loader-patch.o patcher.o
|
|
@gcc $^ -o $@ $(LIBS)
|
|
|