Skip to content

Instantly share code, notes, and snippets.

@andersx
Last active January 3, 2016 01:19
Show Gist options
  • Select an option

  • Save andersx/8388418 to your computer and use it in GitHub Desktop.

Select an option

Save andersx/8388418 to your computer and use it in GitHub Desktop.
linus stuff
all: main
main: funclib.o getch_linux.o rovarsprak.c
gcc -O3 -Wall --pedantic -o main rovarsprak.c funclib.o getch_linux.o
funclib.o: funclib.c funclib.h
gcc -c -O3 -Wall --pedantic funclib.c -o funclib.o
getch_linux.o: getch_linux.c getch_linux.h
gcc -c -O3 -Wall --pedantic getch_linux.c -o getch_linux.o
clean:
rm -f funclib.o getch_linux.o main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment