Jump to content
  • Advertisement
Sign in to follow this  

i get a lot of wierd errors.... take a look

This topic is 5013 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

bash-2.05b$ make gcc -Wall `sdl-config --libs --cflags` -c -o main.o main.c gcc: -rpath: linker input file unused because linking not done gcc: /usr/local/lib: linker input file unused because linking not done gcc: -lSDL: linker input file unused because linking not done gcc: -lpthread: linker input file unused because linking not done gcc -Wall `sdl-config --libs --cflags` -c -o game.o game.c game.c: In function `makemap': game.c:33: warning: implicit declaration of function `exit' game.c:68: warning: control reaches end of non-void function gcc: -rpath: linker input file unused because linking not done gcc: /usr/local/lib: linker input file unused because linking not done gcc: -lSDL: linker input file unused because linking not done gcc: -lpthread: linker input file unused because linking not done gcc -Wall `sdl-config --libs --cflags` -c -o picturehandling.o picturehandling.cgcc: -rpath: linker input file unused because linking not done gcc: /usr/local/lib: linker input file unused because linking not done gcc: -lSDL: linker input file unused because linking not done gcc: -lpthread: linker input file unused because linking not done gcc -Wall `sdl-config --libs --cflags` -c -o menu.o menu.c gcc: -rpath: linker input file unused because linking not done gcc: /usr/local/lib: linker input file unused because linking not done gcc: -lSDL: linker input file unused because linking not done gcc: -lpthread: linker input file unused because linking not done gcc -Wall `sdl-config --libs --cflags` -c -o buffer.o buffer.c gcc: -rpath: linker input file unused because linking not done gcc: /usr/local/lib: linker input file unused because linking not done gcc: -lSDL: linker input file unused because linking not done gcc: -lpthread: linker input file unused because linking not done gcc -Wall `sdl-config --libs --cflags` -o framework main.o game.o picturehandling.o menu.o buffer.o huh...??? what are all those gcc: things? need help... makefile: CFLAGS=-Wall `sdl-config --libs --cflags` CC=gcc LIBS= C_FILES=main.c game.c picturehandling.c menu.c buffer.c OBJ_FILES=main.o game.o picturehandling.o menu.o buffer.o OUT_FILE=framework all: framework framework: $(OBJ_FILES) $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES) main.o: main.c $(CC) $(CFLAGS) -c -o $@ $^ game.o: game.c $(CC) $(CFLAGS) -c -o $@ $^ picturehandling.o: picturehandling.c $(CC) $(CFLAGS) -c -o $@ $^ menu.o: menu.c $(CC) $(CFLAGS) -c -o $@ $^ buffer.o: buffer.c $(CC) $(CFLAGS) -c -o $@ $^

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!