shokara's own minecraft launcher
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

24 lines
452 B

include config.mk
SRC = somc.c versions.c fetch.c ${CJSON_C}
OBJ = ${SRC:.c=.o}
all: somc
somc.o: versions.h somc.h
versions.o: versions.h somc.h fetch.h ${CJSON_H}
fetch.o: fetch.h
somc: ${OBJ}
${CC} ${CPPFLAGS} ${CFLAGS} -o $@ ${OBJ} ${LDFLAGS}
clean:
rm -f somc ${OBJ}
install: somc
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f somc ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/somc
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/somc