Rev 8200 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8200 | Rev 8202 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | 11 | ||
Line 12... | Line 12... | ||
12 | default: SDL-demo |
12 | default: SDL-demo |
13 | 13 | ||
14 | SDL-demo: $(OBJECTS) Makefile |
14 | SDL-demo: $(OBJECTS) Makefile |
15 | $(CC) $(CFLAGS) $(INCLUDES) -o SDLTest.o SDLTest.c |
15 | $(CC) $(CFLAGS) $(INCLUDES) -o SDLTest.o SDLTest.c |
16 | $(LD) $(LDFLAGS) $(LIBPATH) --subsystem native -o SDLTest SDLTest.o -lgcc -lSDL -lc.dll -lc_ -lsound # -lc_ is a menuetlibc libc, not newlib. Write you lib name |
16 | $(LD) $(LDFLAGS) $(LIBPATH) --subsystem native -o SDLTest SDLTest.o -lgcc -lSDL -lc.dll -lc -lc_ -lsound # -lc_ is a menuetlibc, -lc - newlib |
17 | kos32-strip -s SDLTest -o SDLTest |
17 | kos32-strip -s SDLTest -o SDLTest |
18 | objcopy SDLTest -O binary |
18 | objcopy SDLTest -O binary |
19 | rm SDLTest.o |
19 | rm SDLTest.o |