diff options
| author | Ray <[email protected]> | 2016-11-22 12:53:32 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2016-11-22 12:53:32 +0100 |
| commit | 0925f4ec4db5cf280ab988d8559f07996c1b0e16 (patch) | |
| tree | 0dea6717996fe6dc59b405907c14a9e2f7b20b8e /examples/Makefile | |
| parent | b8481369f7209804d70220a29ba2efbd6171d7a9 (diff) | |
| download | raylib-0925f4ec4db5cf280ab988d8559f07996c1b0e16.tar.gz raylib-0925f4ec4db5cf280ab988d8559f07996c1b0e16.zip | |
Added physics samples to makefile
Diffstat (limited to 'examples/Makefile')
| -rw-r--r-- | examples/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile index 2cb75ff9..710e97c4 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -245,6 +245,11 @@ EXAMPLES = \ audio_music_stream \ audio_module_playing \ audio_raw_stream \ + physics_demo \ + physics_friction \ + physics_movement \ + physics_restitution \ + physics_shatter \ fix_dylib \ @@ -487,6 +492,26 @@ audio_module_playing: audio_module_playing.c audio_raw_stream: audio_raw_stream.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -D$(PLATFORM) $(WINFLAGS) +# compile [physac] example - physics demo +physics_demo: physics_demo.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -lpthread -D$(PLATFORM) $(WINFLAGS) + +# compile [physac] example - physics friction +physics_friction: physics_friction.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -lpthread -D$(PLATFORM) $(WINFLAGS) + +# compile [physac] example - physics movement +physics_movement: physics_movement.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -lpthread -D$(PLATFORM) $(WINFLAGS) + +# compile [physac] example - physics restitution +physics_restitution: physics_restitution.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -lpthread -D$(PLATFORM) $(WINFLAGS) + +# compile [physac] example - physics shatter +physics_shatter: physics_shatter.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDES) $(LFLAGS) $(LIBS) -lpthread -D$(PLATFORM) $(WINFLAGS) + # fix dylib install path name for each executable (MAC) fix_dylib: ifeq ($(PLATFORM_OS),OSX) |
